﻿@using ForzaGT3.Data
@model IEnumerable<Driver>
<div class="greybg header shadow">
    STANDINGS <span class="more"><a href="@Url.Action(MVC.Competitors.Index())">More</a> </span>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <th scope="col">
            <img src="@Links.Assets.images.helm_png" alt="standings" />
        </th>
        <th scope="col" align="left">
            <div align="left">
                DRIVERS</div>
        </th>
        <th scope="col">
            POINTS
        </th>
    </tr>
    @if (Model != null)
    {
        foreach (Driver data in Model)
        {
            <tr>
                <td>
                    <div align="center">
                        <img src="@Url.Content("~" + data.Country.FlagUrl)" width="30" height="20" alt="@data.Country.Name"/></div>
                </td>
                <td>
                    <div align="left">
                        @data.Name</div>
                </td>
                <td>
                    <div align="center">
                        @data.Points</div>
                </td>
            </tr>
        }
    }
</table>
